home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1999 …ember: Reference Library / Apple Developer Reference Library (December 1999) (Disk 1).iso / pc / technical documentation / macintosh technotes and q&as / technotes / tn / pdlogexpand.hqx / PDlog Expand ƒ / About PDlog Expand.doc next >
Encoding:
Text File  |  1996-10-22  |  1.9 KB  |  27 lines

  1. Sample: PDlog Expand
  2. Language: MWC 8
  3.  
  4. This example shows how to add items to print dialogs.  This code is based upon the code originally contained in TN #95 and PR09. It is now in TechNote 1080, only in C. Note that in v1.0.2, a bug was corrected which is now fixed in Tech Note 108000.
  5.  
  6. - Apple Developer Technical Support
  7.   
  8.   10/9/91… v1.0
  9.   2/25/92… v1.0.1 -->     fixed lack of print handle tossing and added something to print.<dmh>
  10.   9/29/93… v1.0.2 -->     fixed a problem with the Append_DITL routine which caused an
  11.                                                                          extra 2 bytes of garbage to be appended to the DITL. <dmh>
  12.   6/20/95… v1.0.3 -->     updated for Universal Headers and MWC-PPC   <njvt>
  13.   11/16/95    v1.0.4 -->     updated to use CallPItemProc() and PItemUPP. Make it fully ANSI.
  14.                                                    Explicitly include needed headers, so back-port to MPW is easier.    
  15.                                                                       <davep>
  16.   6/10/96… v1.1 -->         Probably shoulda bumped to 1.1 at 1.0.4, but better late than never.
  17.                                                    Update version resources, and make the buttonn we add open another 
  18.                                                                         dialog with yet more stuff in it. Added balloon help to demonstrate 
  19.                                                                         how that works, too.<davep>
  20.     8/21/96… v1.1.1 --> Added the list for a sample     <mxm>
  21.     9/3/96… v1.1.2 -->     Change list handling to match recommendations of LW8 engineering. 
  22.                                                                         <davep>
  23. 10/22/96...v.1.1.3---> Fixed MyListDraw: removed kPanePopUp <ik>
  24.  
  25. • NOTE: To append help for the items you're appending to the print dialog, you have to use a 'HMScanAppendhdlg' item. This type isn't readily available from Resorcerer or ResEdit, so that's why I switched to Rez source for the resources. <davep>
  26.  
  27. • Another NOTE: As of System 7.5.3, neither our Append_DITL nor the system version handles appending of 'ictb' or 'dctb's correctly. This is a bug that's planned to be fixed in the future, but I'm warning you about it here. <davep>